﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Web.Helper;
using RentalSystem.Data.EF;

namespace Web.Models
{
    public class MovieListViewModel
    {
        public IEnumerable<MovieViewModel> movies;
        public PagingInfo PagingInfo { get; set; }
        public List<MovieKinds> AvailableKinds { get; set; }

        public int SelectedKind { get; set; }
        public string Size { get; set; }
        public string SortBy { get; set; }
        public string ListDirection { get; set; }

        #region static strings for filters
        public static string SizeBig = "big";
        public static string SizeSmall = "small";
        public static string SortByTitle = "title";
        public static string SortByIssueDate = "publishing";
        public static string SortByAddingDate = "adding";
        public static string Ascending = "ascending";
        public static string Descending = "descending";
        #endregion
    }
}